Mehmet Emre Doğan
Polyfit vs. Spline
Introduction
Cubic spline interpolation vs. regular polynomial interpolation will be compared on MATLAB. Furthermore, each individual coefficent array will be extracting from the struct spline() returns. In addition, symbolic differentiation and integration will be applied to those polynomials just for fun.
Spline: https://www.mathworks.com/help/matlab/ref/spline.html
Polyfit: https://www.mathworks.com/help/matlab/ref/polyfit.html

Matlab Code
code.mlx